<%@ page pageEncoding="utf-8" %>
<%@include file="/commons/taglibs.jsp" %>
<!DOCTYPE html>
<html>
<fmt:bundle basename="res">
<head>
    <meta charset="utf-8">
    <title><fmt:message key='fxspxq' /></title>
    <jsp:include page="/WEB-INF/commons/commons-header.jsp" flush="true"/>
    <style>
        html {
            background: #fff;
        }
    </style>
</head>

<body>
<div class="layui-container">
    <div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list" style="padding: 20px 30px 0 0;">

        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
            <legend><fmt:message key='jbxx' /></legend>
        </fieldset>

        <c:if test="${poster.platform == 2}">
            <div class="layui-form-item">
                <label class="layui-form-label"><fmt:message key='sjmc' /></label>
                <div class="layui-form-mid layui-word-aux">
                        ${poster.merchant.username}
                </div>
            </div>
        </c:if>


        <div class="layui-form-item goodsChannelArea">
            <label class="layui-form-label"><fmt:message key='sqrq' /></label>

            <div class="layui-form-mid layui-word-aux">
                <fmt:formatDate value="${poster.createTime}" type="both"/>
            </div>

        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"><fmt:message key='shzt' /></label>
            <div class="layui-form-mid layui-word-aux">
                <c:if test="${poster.status == 1}"><fmt:message key='shj' /></c:if>
                <c:if test="${poster.status == 2}"><fmt:message key='xj' /></c:if>
                <c:if test="${poster.status == 3}"><fmt:message key='dtj' /></c:if>
                <c:if test="${poster.status == 4}"><fmt:message key='shz' /></c:if>
                <c:if test="${poster.status == 5}"><fmt:message key='shbtg' /></c:if>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"><fmt:message key='shbz' /></label>
            <div class="layui-form-mid layui-word-aux">
                ${poster.note}
            </div>
        </div>


        <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
            <legend><fmt:message key='hbxx' /></legend>
        </fieldset>

        <div class="layui-form-item">
            <label class="layui-form-label"><fmt:message key='hblx' /></label>
            <div class="layui-form-mid layui-word-aux">
                <c:if test="${poster.type == 1}"><fmt:message key='lx' /></c:if>
                <c:if test="${poster.type == 2}"><fmt:message key='sp' /></c:if>
                <c:if test="${poster.type == 3}"><fmt:message key='wd' /></c:if>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"><fmt:message key='wz' /></label>
            <div class="layui-form-mid layui-word-aux">
                ${poster.text}
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"><fmt:message key='sm' /></label>
            <div class="layui-form-mid layui-word-aux">
                ${poster.content}
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"><fmt:message key='yrt' /></label>
            <div class="layui-form-mid layui-word-aux">
                <img src="${store_domain}/uploads/${poster.image}" class="perview" style="width: 300px;height: 400px;">
            </div>
        </div>

    </div>
</div>

<script>

    $(function () {

        layui.use(['form', 'laydate'], function () {

            var form = layui.form;
            var laydate = layui.laydate;

        });

    });
</script>
</body>
</fmt:bundle>
</html>